package com.pojo;

import java.io.Serializable;

public class User implements Serializable {

    private Integer userId;
    private String uname;
    private String upwd;
    private String phone;
    private Integer sex;
    private String weChat;
    private String QQ;
    private String email;
    private String adress;
    private String uhead;


    public User(String uname) {
        this.uname = uname;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getWeChat() {
        return weChat;
    }

    public void setWeChat(String weChat) {
        this.weChat = weChat;
    }

    public String getQQ() {
        return QQ;
    }

    public void setQQ(String QQ) {
        this.QQ = QQ;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public String getUhead() {
        return uhead;
    }

    public void setUhead(String uhead) {
        this.uhead = uhead;
    }

    public User(Integer userId, String uname, String upwd, String phone, Integer sex, String weChat, String QQ, String email, String adress, String uhead) {
        this.userId = userId;
        this.uname = uname;
        this.upwd = upwd;
        this.phone = phone;
        this.sex = sex;
        this.weChat = weChat;
        this.QQ = QQ;
        this.email = email;
        this.adress = adress;
        this.uhead = uhead;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", uname='" + uname + '\'' +
                ", upwd='" + upwd + '\'' +
                ", phone='" + phone + '\'' +
                ", sex=" + sex +
                ", weChat='" + weChat + '\'' +
                ", QQ='" + QQ + '\'' +
                ", email='" + email + '\'' +
                ", adress='" + adress + '\'' +
                ", uhead='" + uhead + '\'' +
                '}';
    }
}
